function showMessage(message, seconds) {
	let box=$('#warninfo')
	box.text(message)
	box.show()
	setTimeout(()=>{
		box.hide()
	},seconds)
}

function appendMsgBox() {
	$('body').append(
		`<div id="warninfo" 
			style="width: 200px;
			height: 39px; 
			background-color: #eebe77;
			display: none;
			position: fixed;
			top: 20px;
			left: 0;
			right: 0;
			margin: 0 auto;
			border-radius: 5px;
			font-size: 16px;
			line-height: 39px;
			text-align: center;">
		</div>`)
}
